package fast;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: spring-boot-fast-cli
 * @description:
 * @author: xjr
 * @create: 2020-09-07 17:48
 **/
@Api(tags = "测试接口")
@RestController
@RequestMapping("/demo/test")
public class DemoController {

    @ApiOperation("测试1")
    @GetMapping("/test1")
    public String test(){
        return "hello world";
    }
}
